package com.github.freewu.mvp.bean;

import java.io.Serializable;

/**
 * 服务器bean
 * Created by free on 16-5-19.
 */
public class ServerBean<T> extends ServerBaseBean implements Serializable{

    public ServerBean() {
        this.setTime(System.currentTimeMillis());
    }

    public ServerBean(T data) {
        this.data = data;

        this.setTime(System.currentTimeMillis());
    }

    /**
     * 被包含的消息实体
     */
    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
